<?php
class mod_links extends xmldb{
	public $total, $pagecnt, $pagenum, $pagestart, $pageend;
	
	public function getlinks(){
		$links = array();
		foreach($this->xml->children() as $link){
			$links[] = (array)$link;
		}
		return $links;
	}
}
?>
